package com.fifi.java.lanchain4j.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import nonapi.io.github.classgraph.json.Id;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("chat_messages")
public class ChatMessages {
    //唯一标记，映射到MongoDB文档中的id
    @Id
    private ObjectId MessageId;//MONGODB
    private String memoryId;//用户
    private String content;//存储当天聊天记录表中的json字符串
}
